<template>
	<view>
		<view>
			<uni-calendar :insert="true" :lunar="true" :start-date="'2019-3-2'" :end-date="'2019-5-20'" @change="change"
				:selected="punchlist" />
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				punchlist: [],
			}
		},
		onReady() {
			this.punchlist = [{
						date:'2021-05-5',
						info: '打卡'
					},
					{
						date: '2021-05-6',
						info: '签到',
						data: {
							custom: '自定义信息',
							name: '自定义消息头'
						}
					},
					{
						date: '2021-05-7',
						info: '已打卡'
					}
				]
		},
		methods: {

		}
	}
</script>

<style>

</style>
